package com.ruoyi.project.report.revenue.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 营收统计报表对象
 *
 * @author admin
 * @date 2021-01-19
 */
public class Revenue extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 日期字符串 */
//    @Excel(name = "日期")
    private String dateStr;

    /** 日期中文字符串 */
    @Excel(name = "日期")
    private String dateStrCn;

    /** 总收入 */
    @Excel(name = "总收入")
    private Long income;

    /** 租车总收入 */
    @Excel(name = "租车总收入")
    private Long rentIncome;

    /** 车损金额 */
    @Excel(name = "车损金额")
    private Long damagePrice;

    public String getDateStr() {
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }

    public Long getIncome() {
        return income;
    }

    public void setIncome(Long income) {
        this.income = income;
    }

    public String getDateStrCn() {
        return dateStrCn;
    }

    public void setDateStrCn(String dateStrCn) {
        this.dateStrCn = dateStrCn;
    }

    public Long getRentIncome() {
        return rentIncome;
    }

    public void setRentIncome(Long rentIncome) {
        this.rentIncome = rentIncome;
    }

    public Long getDamagePrice() {
        return damagePrice;
    }

    public void setDamagePrice(Long damagePrice) {
        this.damagePrice = damagePrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("dateStr", getDateStr())
                .append("dateStrCn", getDateStrCn())
                .append("damagePrice", getDamagePrice())
                .append("rentIncome", getRentIncome())
                .append("income", getIncome())
                .toString();
    }
}
